PhpOffice\PhpSpreadsheet\Calculation\Calculation D

Total Complexity 715
Dependencies 27
Dependents 55
Total lines 5,717
Lines of code 2,025
Logical lines of code 1,361
Comment lines 515
Methods 72
Properties 36

Methods 72

Method Rating Maintainability Complexity Lines of code
processTokenStack()
D
0
191 539
internalParseFormula()
D
0
153 393
executeNumericBinaryOperation()
D
32 34 95
calculateCellValue()
B
38 22 65
setLocale()
B
38 21 63
_calculateFormulaValue()
B
41 20 49
extractNamedRange()
A
44 16 40
resizeMatricesExtend()
A
49 15 34
resizeMatricesShrink()
A
50 15 30
extractCellRange()
A
44 14 44
showValue()
A
49 11 28
validateBinaryOperand()
A
50 11 26
evaluateDefinedName()
A
45 10 37
showTypeDetails()
A
50 10 28
convertMatrixReferences()
A
47 9 37
checkMatrixOperands()
A
51 8 26
executeArrayComparison()
A
49 7 31
translateFormulaToLocale()
S
50 7 28
translateFormulaToEnglish()
S
53 7 21
unwrapResult()
S
62 8 10
calculateFormula()
S
54 6 21
translateSeparator()
S
55 6 19
addDefaultArgumentValues()
S
55 6 19
wrapResult()
S
61 6 11
translateFormula()
S
54 5 21
dataTestReference()
S
57 5 17
getArgumentDefaultValue()
S
58 4 16
parseFormula()
S
57 4 16
addCellReference()
S
58 4 15
localeFunc()
S
60 4 13
getInstance()
S
62 4 12
setInstanceArrayReturnType()
S
63 4 11
setArrayReturnType()
S
63 4 11
boolToString()
S
66 4 8
loadLocales()
S
63 4 10
getMatrixDimensions()
S
58 3 15
getLocaleFile()
S
62 3 11
getImplementedFunctionNames()
S
65 3 9
isImplemented()
S
70 3 5
getValueFromCache()
S
65 3 9
executeBinaryComparisonOperation()
S
64 3 9
raiseFormulaError()
S
65 2 9
isNumericOrBool()
S
78 2 3
makeError()
S
78 2 3
calculate()
S
69 2 7
saveValueToCache()
S
74 2 5
renameCalculationCacheForWorksheet()
S
70 2 6
clearCalculationCacheForWorksheet()
S
73 2 5
getArrayReturnType()
S
80 1 3
getExcelConstants()
S
79 1 3
__construct()
S
68 1 7
getSuppressFormulaErrors()
S
82 1 3
setSuppressFormulaErrors()
S
81 1 3
flushInstance()
S
78 1 4
getDebugLog()
S
82 1 3
__clone()
S
80 1 3
getTRUE()
S
79 1 3
getFALSE()
S
79 1 3
getFunctions()
S
80 1 3
getCalculationCacheEnabled()
S
82 1 3
getInstanceArrayReturnType()
S
80 1 3
keyInExcelConstants()
S
79 1 3
setCalculationCacheEnabled()
S
77 1 4
enableCalculationCache()
S
81 1 3
disableCalculationCache()
S
81 1 3
clearCalculationCache()
S
81 1 3
setBranchPruningEnabled()
S
76 1 4
enableBranchPruning()
S
81 1 3
disableBranchPruning()
S
81 1 3
getLocale()
S
81 1 3
translateFormulaBlock()
S
64 1 9
getLocaleBoolean()
S
79 1 3